<%@ include file = "/common/ini.jsp"%>
<%@ include file = "/common/_log4j.jsp"%>
<%@ include file = "/common/_ApplicationContext_init.jsp"%>
<%@ include file = "/common/_vr.jsp"%>
<%
    // 定义名称
    String title = "新增岗位";
    String remark = "";
%>
<script>
    function submitData()
    {
        this.selectAll(detailForm.orgIds);
        this.selectAll(detailForm.roleIds);
        detailForm.serviceURL.value = "sysframe.post.NewPostService";
        detailForm.submit();
    }
    function reset()
    {
        <%
        if(vr.isAllValidated())
        {
            %>
            detailForm.orgLength.value = "1";
            detailForm.roleLength.value = "1";
            this.delAllOrgs();
            this.delAllRoles();
            <%
        }
        else
        {
            %>
            detailForm.orgLength.value = "<%= request.getParameter("orgLength")%>";
            detailForm.roleLength.value = "<%= request.getParameter("roleLength")%>";
            <%
        }
        %>
    }
</script>
<%@ include file = "/common/detail/_OnForm.jsp"%>
<%@ include file = "_detail4Add.jsp"%>
<%@ include file = "/common/detail/_UnderForm.jsp"%>
